﻿@using ZBJF.Warranty.WebProvider.AdminPemission
@{
    var actionList = RightHelper.Instance.GetAllPageAction();
}

<div class="page-header">
    <h3>
        菜单管理
        <small>
            <i class="icon-double-angle-right"></i>
            <span id="ShowText">菜单按钮编辑</span>
        </small>
    </h3>
</div>
<form id="AddAction" class="form-horizontal">
    <input type="hidden" value="0" id="UpdateActionId" />
    <div class="control-group">
        <label class="control-label w120">请选择菜单按钮:</label>
        <div id="ActionListIdSelect" class="controls margin-l-120">
            <select multiple="" class="chosen-select tag-input-style" id="ActionListId" name="ActionListId" data-placeholder="请选择所在菜单按钮">
                @foreach (var item in actionList)
                {
                    <option value=@item.ID>@item.ActionName</option>
                }
            </select>
        </div>
    </div>
    <div class="control-group">
        <div class="align-center">
            <button class="btn btn-primary Edit-R" type="button" onclick="UpdateActionSubmit()">
                <i class="icon-ok bigger-110"></i>
                确定
            </button>
            <button class="btn" type="button" data-dismiss="modal">
                <i class="icon-undo bigger-110"></i>
                取消
            </button>
        </div>
    </div>
</form>

